package com.shxc.smarttrade.custom.view;


import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;
/**
 * 不可滑动的ListView
 * */
public class EListView extends ListView {

	private android.view.ViewGroup.LayoutParams params;

	public EListView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	@Override
	public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
				MeasureSpec.AT_MOST);
		super.onMeasure(widthMeasureSpec, expandSpec);
	}
}